/*
 * XMLNameSpace.h
 *
 *  Created on: May 27, 2018
 *      Author: hp
 */

#ifndef XMLNAMESPACE_H_
#define XMLNAMESPACE_H_

class ResStringPool;

class XMLNameSpace {
public:
	XMLNameSpace();
	XMLNameSpace(const ResStringPool& string_pool, const char* data);

	void dump();

	uint32_t serialize(ResStringPool& string_pool, char** data);
	uint32_t serialize_end(ResStringPool& string_pool, char** data);
	const char* get(const char* uri) const;
	virtual ~XMLNameSpace();

	const char* _name = nullptr;
	const char* _uri = nullptr;
};

#endif /* XMLNAMESPACE_H_ */
